#ifndef VARFILEMANAGER_H_
#define VARFILEMANAGER_H_
#include "FileManager.h"

namespace Managers {

class VarFileManager: public FileManager {

public:

	VarFileManager(string path);

	virtual void readRecord(IRecordable* entityToFill, unsigned int startingPosition);
	virtual void updateRecord(IRecordable* record,unsigned int offset);
	virtual unsigned int writeRecord(IRecordable* record);
	virtual bool eraseRecord(IRecordable* record);
	virtual bool isEndOfFile(unsigned int offset);
	virtual ~VarFileManager();
};

}

#endif /* VARFILEMANAGER_H_ */
